package android_design_mode.chapter19_composite;

public class Leaf extends Component {

    public Leaf(String name) {
        super(name);
    }

    @Override
    public void doSomething() {
        System.out.println("Leaf name : " + name);
    }

}
